package com.CI.ResendPasswork.Commands
{
	import com.CI.ResendPasswork.Business.ResendDelegate;
	import com.CI.ResendPasswork.Control.ResendEvents;
	import com.adobe.cairngorm.business.Responder;
	import com.adobe.cairngorm.commands.Command;
	import com.adobe.cairngorm.control.CairngormEvent;
	
	public class ResendCommands implements Command,Responder
	{
		public function execute(event : CairngormEvent) : void
		{
			var resendEvent : ResendEvents = ResendEvents(event);
			getDelegate.sendObject(resendEvent.account);
		}
		
		public function onFault(event : *=null) : void
		{
			
		}
		
		public function onResult(event : *=null) : void
		{
		}
		
		protected function get getDelegate(): ResendDelegate
		{
			return new ResendDelegate(this);
		}
	}
}